package com.itheima.mapper.store;

import com.itheima.domain.store.Question;

import java.util.List;

public interface QuestionMapper {
    //查找所有
    List<Question> findAll();

    //新增方法
    void save(Question question);

    //根据id删除
    void deleteByIds(String[] ids);

    //根据id查找
    Question findById(String id);

    //更新数据
    void update(Question question);
}
